home *** CD-ROM | disk | FTP | other *** search
/ PC Open 101 / PC Open 101 CD 1.bin / CD1 / grafica / The Gimp / gimp-help-2-0.3-setup.exe / {app} / share / gimp / 2.0 / help / en / ch05s05.html < prev    next >
Encoding:
Extensible Markup Language  |  2004-07-20  |  4.4 KB  |  107 lines

  1. <?xml version="1.0" encoding="UTF-8" standalone="no"?>
  2. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  3. <html xmlns="http://www.w3.org/1999/xhtml">
  4.   <head>
  5.     <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  6.     <title>5.┬áEdge-detect filters</title>
  7.     <link rel="stylesheet" href="gimp-help-plain.css" type="text/css" />
  8.     <link rel="stylesheet" href="gimp-help-screen.css" type="text/css" />
  9.     <meta name="generator" content="DocBook XSL Stylesheets V1.64.1" />
  10.     <link rel="home" href="index.html" title="GIMP User Manual" />
  11.     <link rel="up" href="ch05.html" title="Chapter┬á5.┬áFilters" />
  12.     <link rel="previous" href="ch05s04s07.html" title="4.7.┬áSpread" />
  13.     <link rel="next" href="ch05s05s02.html" title="5.2.┬áEdge" />
  14.   </head>
  15.   <body>
  16.     <div class="navheader">
  17.       <table width="100%" summary="Navigation header">
  18.         <tr>
  19.           <th colspan="3" align="center">5.┬áEdge-detect filters</th>
  20.         </tr>
  21.         <tr>
  22.           <td width="20%" align="left"><a accesskey="p" href="ch05s04s07.html">Prev</a>┬á</td>
  23.           <th width="60%" align="center">Chapter┬á5.┬áFilters</th>
  24.           <td width="20%" align="right">┬á<a accesskey="n" href="ch05s05s02.html">Next</a></td>
  25.         </tr>
  26.       </table>
  27.       <hr />
  28.     </div>
  29.     <div class="sect1" lang="en" xml:lang="en">
  30.       <div class="titlepage">
  31.         <div>
  32.           <div>
  33.             <h2 class="title" style="clear: both"><a id="filters-edge"></a>5.┬áEdge-detect filters</h2>
  34.           </div>
  35.         </div>
  36.         <div></div>
  37.       </div>
  38.       <a id="id2974587" class="indexterm"></a>
  39.       <div class="sect2" lang="en" xml:lang="en">
  40.         <div class="titlepage">
  41.           <div>
  42.             <div>
  43.               <h3 class="title"><a id="filters-edges-introduction"></a>5.1.┬áEdge-detect introduction</h3>
  44.             </div>
  45.           </div>
  46.           <div></div>
  47.         </div>
  48.         <div class="simplesect" lang="en" xml:lang="en">
  49.           <div class="titlepage">
  50.             <div></div>
  51.             <div></div>
  52.           </div>
  53.           <p>
  54.       Edge detect filters search for borders between different colors and so can detect 
  55.       contours of objects.
  56.     </p>
  57.           <p>
  58.       They are used to make selections and for many artistic purposes.
  59.     </p>
  60.           <div class="mediaobject">
  61.             <img src="../images/filters/filters-edgedetect-fig.png" />
  62.           </div>
  63.           <p>
  64.       Most of them are based on gradient calculation methods and give thick border lines. 
  65.       Look at fig.1 which represents color intensity variations. On the left is a slow 
  66.       color gradient which is not a border. On the right is a quick variation which is an 
  67.       edge. Now, let us calculate the gradient, the variation speed, of this edge, i.e the 
  68.       first derivative (fig.2). We have to decide that a border is detected when gradient 
  69.       is more than a threshold value (the exact border is at top of the curve, but this 
  70.       top varies according to borders). In most cases, threshold is under top and border 
  71.       is thick.
  72.     </p>
  73.           <p>
  74.       The Laplacian edge detection uses the second derivative (fig.3). The top of the curve 
  75.       is now at zero and clearly identified. That's why Laplace filter renders a thin border, 
  76.       only a pixel wide. But this derivative gives several zeros corresponding to small ripples, 
  77.       resulting in false edges. 
  78.     </p>
  79.           <p>
  80.       Some blurring before applying edge filters is often necessary: it flattens small ripples 
  81.       in signal and so prevents false edges.
  82.     </p>
  83.         </div>
  84.       </div>
  85.     </div>
  86.     <div class="navfooter">
  87.       <hr />
  88.       <table width="100%" summary="Navigation footer">
  89.         <tr>
  90.           <td width="40%" align="left"><a accesskey="p" href="ch05s04s07.html">Prev</a>┬á</td>
  91.           <td width="20%" align="center">
  92.             <a accesskey="u" href="ch05.html">Up</a>
  93.           </td>
  94.           <td width="40%" align="right">┬á<a accesskey="n" href="ch05s05s02.html">Next</a></td>
  95.         </tr>
  96.         <tr>
  97.           <td width="40%" align="left" valign="top">4.7.┬áSpread┬á</td>
  98.           <td width="20%" align="center">
  99.             <a accesskey="h" href="index.html">Home</a>
  100.           </td>
  101.           <td width="40%" align="right" valign="top">┬á5.2.┬áEdge</td>
  102.         </tr>
  103.       </table>
  104.     </div>
  105.   </body>
  106. </html>
  107.